<!DOCTYPE HTML5>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>Tabs</title>
        <link rel="stylesheet" type="text/css" href="../css/mrtab.css"/>
        <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
        <script type="text/javascript" src="../js/mrtab.1.4.2.js"></script>
    </head>
    <script type="text/javascript" charset="utf-8">
        $(function(){
          m = new mrTab($('#uno'));
        });
    </script>
    <style>
        .mrTabPanel {
                position: absolute;
                left: 10px;
                right: 10px;
                bottom: 10px;
                top: 180px;
        }
      
    </style>
    <body>
        <h1>MRUI</h1>
        <h2>mrTab</h2>
        <h3>Example 1</h3>
        <input type="text" id="caption" placeholder="Tab Caption"/>
        <input type="button" id="add" value="add tab" onclick="m.addTab($('#caption').val())"/>
        <input type="button" id="delete" value="del tab" onclick="m.deleteTabsByCaption($('#caption').val())"/>
        <div id="uno" class="mrTabPanel">
          <div class="mrTabs">
            <div data-tab="Tab1" class="mrTabSelector mrTabSelected" data-cap="Tab 1">
              <span class="mrTabCaption">Tab 1</span>
            </div>
          </div>
          <div class="mrTabContainers">
            <div id="Tab1" class="mrTabContainer"></div>
          </div>
        </div>
    </body>
</html>
